//
//  StringPickerCellData.h
//  18Birdies
//
//  Created by CC on 2017/5/27.
//  Copyright © 2017年 Lc. All rights reserved.
//

#import "LcCellData.h"

@class StringPickerCellData;

@protocol StringPickerDelegate<NSObject>
@required
- (void)onStringChanged:(int)value cellData:(StringPickerCellData*)cellData;
@end

@interface StringPickerCellData : LcCellData <UIPickerViewDataSource, UIPickerViewDelegate>
+ (StringPickerCellData*)cellDataWithValues:(NSArray<NSString*>*)values
                                      value:(int)value;

@property(nonatomic, strong) NSArray* values;
@property(nonatomic, assign) int value;
@property(nonatomic, weak) id<StringPickerDelegate> delegate;
@property(nonatomic, assign) BOOL transformZeroToOff;
@end
